<?php

class Usersession extends CI_Model{

	function __construct()
    	{
        	parent::__construct();
    	}
	
	function putSessionCookie(){
		$cookie = array(
    			'name'   => 'mt_client',
    			'value'  => $this->session->userdata('session_id'),
    			'expire' => '86500',
			'path'   => '/',
  			'secure' => False
		);
		
		$this->input->set_cookie($cookie);
	}
		
}